package com.runfast.waimai.dao.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class RunfastDeliverCostExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RunfastDeliverCostExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andChargeIsNull() {
            addCriterion("charge is null");
            return (Criteria) this;
        }

        public Criteria andChargeIsNotNull() {
            addCriterion("charge is not null");
            return (Criteria) this;
        }

        public Criteria andChargeEqualTo(Double value) {
            addCriterion("charge =", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeNotEqualTo(Double value) {
            addCriterion("charge <>", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeGreaterThan(Double value) {
            addCriterion("charge >", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("charge >=", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeLessThan(Double value) {
            addCriterion("charge <", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeLessThanOrEqualTo(Double value) {
            addCriterion("charge <=", value, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeIn(List<Double> values) {
            addCriterion("charge in", values, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeNotIn(List<Double> values) {
            addCriterion("charge not in", values, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeBetween(Double value1, Double value2) {
            addCriterion("charge between", value1, value2, "charge");
            return (Criteria) this;
        }

        public Criteria andChargeNotBetween(Double value1, Double value2) {
            addCriterion("charge not between", value1, value2, "charge");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andNochargeIsNull() {
            addCriterion("noCharge is null");
            return (Criteria) this;
        }

        public Criteria andNochargeIsNotNull() {
            addCriterion("noCharge is not null");
            return (Criteria) this;
        }

        public Criteria andNochargeEqualTo(Double value) {
            addCriterion("noCharge =", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeNotEqualTo(Double value) {
            addCriterion("noCharge <>", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeGreaterThan(Double value) {
            addCriterion("noCharge >", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeGreaterThanOrEqualTo(Double value) {
            addCriterion("noCharge >=", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeLessThan(Double value) {
            addCriterion("noCharge <", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeLessThanOrEqualTo(Double value) {
            addCriterion("noCharge <=", value, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeIn(List<Double> values) {
            addCriterion("noCharge in", values, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeNotIn(List<Double> values) {
            addCriterion("noCharge not in", values, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeBetween(Double value1, Double value2) {
            addCriterion("noCharge between", value1, value2, "nocharge");
            return (Criteria) this;
        }

        public Criteria andNochargeNotBetween(Double value1, Double value2) {
            addCriterion("noCharge not between", value1, value2, "nocharge");
            return (Criteria) this;
        }

        public Criteria andTimecost1IsNull() {
            addCriterion("timeCost1 is null");
            return (Criteria) this;
        }

        public Criteria andTimecost1IsNotNull() {
            addCriterion("timeCost1 is not null");
            return (Criteria) this;
        }

        public Criteria andTimecost1EqualTo(Double value) {
            addCriterion("timeCost1 =", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1NotEqualTo(Double value) {
            addCriterion("timeCost1 <>", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1GreaterThan(Double value) {
            addCriterion("timeCost1 >", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1GreaterThanOrEqualTo(Double value) {
            addCriterion("timeCost1 >=", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1LessThan(Double value) {
            addCriterion("timeCost1 <", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1LessThanOrEqualTo(Double value) {
            addCriterion("timeCost1 <=", value, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1In(List<Double> values) {
            addCriterion("timeCost1 in", values, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1NotIn(List<Double> values) {
            addCriterion("timeCost1 not in", values, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1Between(Double value1, Double value2) {
            addCriterion("timeCost1 between", value1, value2, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost1NotBetween(Double value1, Double value2) {
            addCriterion("timeCost1 not between", value1, value2, "timecost1");
            return (Criteria) this;
        }

        public Criteria andTimecost2IsNull() {
            addCriterion("timeCost2 is null");
            return (Criteria) this;
        }

        public Criteria andTimecost2IsNotNull() {
            addCriterion("timeCost2 is not null");
            return (Criteria) this;
        }

        public Criteria andTimecost2EqualTo(Double value) {
            addCriterion("timeCost2 =", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2NotEqualTo(Double value) {
            addCriterion("timeCost2 <>", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2GreaterThan(Double value) {
            addCriterion("timeCost2 >", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2GreaterThanOrEqualTo(Double value) {
            addCriterion("timeCost2 >=", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2LessThan(Double value) {
            addCriterion("timeCost2 <", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2LessThanOrEqualTo(Double value) {
            addCriterion("timeCost2 <=", value, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2In(List<Double> values) {
            addCriterion("timeCost2 in", values, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2NotIn(List<Double> values) {
            addCriterion("timeCost2 not in", values, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2Between(Double value1, Double value2) {
            addCriterion("timeCost2 between", value1, value2, "timecost2");
            return (Criteria) this;
        }

        public Criteria andTimecost2NotBetween(Double value1, Double value2) {
            addCriterion("timeCost2 not between", value1, value2, "timecost2");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1IsNull() {
            addCriterion("endTimeDay1 is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1IsNotNull() {
            addCriterion("endTimeDay1 is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1EqualTo(Date value) {
            addCriterionForJDBCTime("endTimeDay1 =", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1NotEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeDay1 <>", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1GreaterThan(Date value) {
            addCriterionForJDBCTime("endTimeDay1 >", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeDay1 >=", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1LessThan(Date value) {
            addCriterionForJDBCTime("endTimeDay1 <", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeDay1 <=", value, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1In(List<Date> values) {
            addCriterionForJDBCTime("endTimeDay1 in", values, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1NotIn(List<Date> values) {
            addCriterionForJDBCTime("endTimeDay1 not in", values, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1Between(Date value1, Date value2) {
            addCriterionForJDBCTime("endTimeDay1 between", value1, value2, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimeday1NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("endTimeDay1 not between", value1, value2, "endtimeday1");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2IsNull() {
            addCriterion("endTimeNight2 is null");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2IsNotNull() {
            addCriterion("endTimeNight2 is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2EqualTo(Date value) {
            addCriterionForJDBCTime("endTimeNight2 =", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2NotEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeNight2 <>", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2GreaterThan(Date value) {
            addCriterionForJDBCTime("endTimeNight2 >", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeNight2 >=", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2LessThan(Date value) {
            addCriterionForJDBCTime("endTimeNight2 <", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("endTimeNight2 <=", value, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2In(List<Date> values) {
            addCriterionForJDBCTime("endTimeNight2 in", values, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2NotIn(List<Date> values) {
            addCriterionForJDBCTime("endTimeNight2 not in", values, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2Between(Date value1, Date value2) {
            addCriterionForJDBCTime("endTimeNight2 between", value1, value2, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andEndtimenight2NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("endTimeNight2 not between", value1, value2, "endtimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1IsNull() {
            addCriterion("startTimeDay1 is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1IsNotNull() {
            addCriterion("startTimeDay1 is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1EqualTo(Date value) {
            addCriterionForJDBCTime("startTimeDay1 =", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1NotEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeDay1 <>", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1GreaterThan(Date value) {
            addCriterionForJDBCTime("startTimeDay1 >", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeDay1 >=", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1LessThan(Date value) {
            addCriterionForJDBCTime("startTimeDay1 <", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeDay1 <=", value, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1In(List<Date> values) {
            addCriterionForJDBCTime("startTimeDay1 in", values, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1NotIn(List<Date> values) {
            addCriterionForJDBCTime("startTimeDay1 not in", values, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1Between(Date value1, Date value2) {
            addCriterionForJDBCTime("startTimeDay1 between", value1, value2, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimeday1NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("startTimeDay1 not between", value1, value2, "starttimeday1");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2IsNull() {
            addCriterion("startTimeNight2 is null");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2IsNotNull() {
            addCriterion("startTimeNight2 is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2EqualTo(Date value) {
            addCriterionForJDBCTime("startTimeNight2 =", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2NotEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeNight2 <>", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2GreaterThan(Date value) {
            addCriterionForJDBCTime("startTimeNight2 >", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeNight2 >=", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2LessThan(Date value) {
            addCriterionForJDBCTime("startTimeNight2 <", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("startTimeNight2 <=", value, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2In(List<Date> values) {
            addCriterionForJDBCTime("startTimeNight2 in", values, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2NotIn(List<Date> values) {
            addCriterionForJDBCTime("startTimeNight2 not in", values, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2Between(Date value1, Date value2) {
            addCriterionForJDBCTime("startTimeNight2 between", value1, value2, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andStarttimenight2NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("startTimeNight2 not between", value1, value2, "starttimenight2");
            return (Criteria) this;
        }

        public Criteria andCharge1IsNull() {
            addCriterion("charge1 is null");
            return (Criteria) this;
        }

        public Criteria andCharge1IsNotNull() {
            addCriterion("charge1 is not null");
            return (Criteria) this;
        }

        public Criteria andCharge1EqualTo(BigDecimal value) {
            addCriterion("charge1 =", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1NotEqualTo(BigDecimal value) {
            addCriterion("charge1 <>", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1GreaterThan(BigDecimal value) {
            addCriterion("charge1 >", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("charge1 >=", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1LessThan(BigDecimal value) {
            addCriterion("charge1 <", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("charge1 <=", value, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1In(List<BigDecimal> values) {
            addCriterion("charge1 in", values, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1NotIn(List<BigDecimal> values) {
            addCriterion("charge1 not in", values, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("charge1 between", value1, value2, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("charge1 not between", value1, value2, "charge1");
            return (Criteria) this;
        }

        public Criteria andCharge2IsNull() {
            addCriterion("charge2 is null");
            return (Criteria) this;
        }

        public Criteria andCharge2IsNotNull() {
            addCriterion("charge2 is not null");
            return (Criteria) this;
        }

        public Criteria andCharge2EqualTo(BigDecimal value) {
            addCriterion("charge2 =", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2NotEqualTo(BigDecimal value) {
            addCriterion("charge2 <>", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2GreaterThan(BigDecimal value) {
            addCriterion("charge2 >", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("charge2 >=", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2LessThan(BigDecimal value) {
            addCriterion("charge2 <", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("charge2 <=", value, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2In(List<BigDecimal> values) {
            addCriterion("charge2 in", values, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2NotIn(List<BigDecimal> values) {
            addCriterion("charge2 not in", values, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("charge2 between", value1, value2, "charge2");
            return (Criteria) this;
        }

        public Criteria andCharge2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("charge2 not between", value1, value2, "charge2");
            return (Criteria) this;
        }

        public Criteria andMaxchargeIsNull() {
            addCriterion("maxCharge is null");
            return (Criteria) this;
        }

        public Criteria andMaxchargeIsNotNull() {
            addCriterion("maxCharge is not null");
            return (Criteria) this;
        }

        public Criteria andMaxchargeEqualTo(BigDecimal value) {
            addCriterion("maxCharge =", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeNotEqualTo(BigDecimal value) {
            addCriterion("maxCharge <>", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeGreaterThan(BigDecimal value) {
            addCriterion("maxCharge >", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("maxCharge >=", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeLessThan(BigDecimal value) {
            addCriterion("maxCharge <", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("maxCharge <=", value, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeIn(List<BigDecimal> values) {
            addCriterion("maxCharge in", values, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeNotIn(List<BigDecimal> values) {
            addCriterion("maxCharge not in", values, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("maxCharge between", value1, value2, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxchargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("maxCharge not between", value1, value2, "maxcharge");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceIsNull() {
            addCriterion("maxDistance is null");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceIsNotNull() {
            addCriterion("maxDistance is not null");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceEqualTo(Double value) {
            addCriterion("maxDistance =", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceNotEqualTo(Double value) {
            addCriterion("maxDistance <>", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceGreaterThan(Double value) {
            addCriterion("maxDistance >", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceGreaterThanOrEqualTo(Double value) {
            addCriterion("maxDistance >=", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceLessThan(Double value) {
            addCriterion("maxDistance <", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceLessThanOrEqualTo(Double value) {
            addCriterion("maxDistance <=", value, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceIn(List<Double> values) {
            addCriterion("maxDistance in", values, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceNotIn(List<Double> values) {
            addCriterion("maxDistance not in", values, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceBetween(Double value1, Double value2) {
            addCriterion("maxDistance between", value1, value2, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andMaxdistanceNotBetween(Double value1, Double value2) {
            addCriterion("maxDistance not between", value1, value2, "maxdistance");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(String value) {
            addCriterion("area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(String value) {
            addCriterion("area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(String value) {
            addCriterion("area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(String value) {
            addCriterion("area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(String value) {
            addCriterion("area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(String value) {
            addCriterion("area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLike(String value) {
            addCriterion("area like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotLike(String value) {
            addCriterion("area not like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<String> values) {
            addCriterion("area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<String> values) {
            addCriterion("area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(String value1, String value2) {
            addCriterion("area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(String value1, String value2) {
            addCriterion("area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNull() {
            addCriterion("areaName is null");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNotNull() {
            addCriterion("areaName is not null");
            return (Criteria) this;
        }

        public Criteria andAreanameEqualTo(String value) {
            addCriterion("areaName =", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotEqualTo(String value) {
            addCriterion("areaName <>", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThan(String value) {
            addCriterion("areaName >", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThanOrEqualTo(String value) {
            addCriterion("areaName >=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThan(String value) {
            addCriterion("areaName <", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThanOrEqualTo(String value) {
            addCriterion("areaName <=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLike(String value) {
            addCriterion("areaName like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotLike(String value) {
            addCriterion("areaName not like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameIn(List<String> values) {
            addCriterion("areaName in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotIn(List<String> values) {
            addCriterion("areaName not in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameBetween(String value1, String value2) {
            addCriterion("areaName between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotBetween(String value1, String value2) {
            addCriterion("areaName not between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andCityidIsNull() {
            addCriterion("cityId is null");
            return (Criteria) this;
        }

        public Criteria andCityidIsNotNull() {
            addCriterion("cityId is not null");
            return (Criteria) this;
        }

        public Criteria andCityidEqualTo(String value) {
            addCriterion("cityId =", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotEqualTo(String value) {
            addCriterion("cityId <>", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThan(String value) {
            addCriterion("cityId >", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThanOrEqualTo(String value) {
            addCriterion("cityId >=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThan(String value) {
            addCriterion("cityId <", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThanOrEqualTo(String value) {
            addCriterion("cityId <=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLike(String value) {
            addCriterion("cityId like", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotLike(String value) {
            addCriterion("cityId not like", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidIn(List<String> values) {
            addCriterion("cityId in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotIn(List<String> values) {
            addCriterion("cityId not in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidBetween(String value1, String value2) {
            addCriterion("cityId between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotBetween(String value1, String value2) {
            addCriterion("cityId not between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNull() {
            addCriterion("cityName is null");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNotNull() {
            addCriterion("cityName is not null");
            return (Criteria) this;
        }

        public Criteria andCitynameEqualTo(String value) {
            addCriterion("cityName =", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotEqualTo(String value) {
            addCriterion("cityName <>", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThan(String value) {
            addCriterion("cityName >", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThanOrEqualTo(String value) {
            addCriterion("cityName >=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThan(String value) {
            addCriterion("cityName <", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThanOrEqualTo(String value) {
            addCriterion("cityName <=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLike(String value) {
            addCriterion("cityName like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotLike(String value) {
            addCriterion("cityName not like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameIn(List<String> values) {
            addCriterion("cityName in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotIn(List<String> values) {
            addCriterion("cityName not in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameBetween(String value1, String value2) {
            addCriterion("cityName between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotBetween(String value1, String value2) {
            addCriterion("cityName not between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCountyidIsNull() {
            addCriterion("countyId is null");
            return (Criteria) this;
        }

        public Criteria andCountyidIsNotNull() {
            addCriterion("countyId is not null");
            return (Criteria) this;
        }

        public Criteria andCountyidEqualTo(String value) {
            addCriterion("countyId =", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidNotEqualTo(String value) {
            addCriterion("countyId <>", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidGreaterThan(String value) {
            addCriterion("countyId >", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidGreaterThanOrEqualTo(String value) {
            addCriterion("countyId >=", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidLessThan(String value) {
            addCriterion("countyId <", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidLessThanOrEqualTo(String value) {
            addCriterion("countyId <=", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidLike(String value) {
            addCriterion("countyId like", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidNotLike(String value) {
            addCriterion("countyId not like", value, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidIn(List<String> values) {
            addCriterion("countyId in", values, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidNotIn(List<String> values) {
            addCriterion("countyId not in", values, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidBetween(String value1, String value2) {
            addCriterion("countyId between", value1, value2, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountyidNotBetween(String value1, String value2) {
            addCriterion("countyId not between", value1, value2, "countyid");
            return (Criteria) this;
        }

        public Criteria andCountynameIsNull() {
            addCriterion("countyName is null");
            return (Criteria) this;
        }

        public Criteria andCountynameIsNotNull() {
            addCriterion("countyName is not null");
            return (Criteria) this;
        }

        public Criteria andCountynameEqualTo(String value) {
            addCriterion("countyName =", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotEqualTo(String value) {
            addCriterion("countyName <>", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameGreaterThan(String value) {
            addCriterion("countyName >", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameGreaterThanOrEqualTo(String value) {
            addCriterion("countyName >=", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLessThan(String value) {
            addCriterion("countyName <", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLessThanOrEqualTo(String value) {
            addCriterion("countyName <=", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLike(String value) {
            addCriterion("countyName like", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotLike(String value) {
            addCriterion("countyName not like", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameIn(List<String> values) {
            addCriterion("countyName in", values, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotIn(List<String> values) {
            addCriterion("countyName not in", values, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameBetween(String value1, String value2) {
            addCriterion("countyName between", value1, value2, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotBetween(String value1, String value2) {
            addCriterion("countyName not between", value1, value2, "countyname");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIsNull() {
            addCriterion("isdefault is null");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIsNotNull() {
            addCriterion("isdefault is not null");
            return (Criteria) this;
        }

        public Criteria andIsdefaultEqualTo(Integer value) {
            addCriterion("isdefault =", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotEqualTo(Integer value) {
            addCriterion("isdefault <>", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultGreaterThan(Integer value) {
            addCriterion("isdefault >", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultGreaterThanOrEqualTo(Integer value) {
            addCriterion("isdefault >=", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultLessThan(Integer value) {
            addCriterion("isdefault <", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultLessThanOrEqualTo(Integer value) {
            addCriterion("isdefault <=", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIn(List<Integer> values) {
            addCriterion("isdefault in", values, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotIn(List<Integer> values) {
            addCriterion("isdefault not in", values, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultBetween(Integer value1, Integer value2) {
            addCriterion("isdefault between", value1, value2, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotBetween(Integer value1, Integer value2) {
            addCriterion("isdefault not between", value1, value2, "isdefault");
            return (Criteria) this;
        }

        public Criteria andUpdatehourIsNull() {
            addCriterion("updatehour is null");
            return (Criteria) this;
        }

        public Criteria andUpdatehourIsNotNull() {
            addCriterion("updatehour is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatehourEqualTo(Integer value) {
            addCriterion("updatehour =", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourNotEqualTo(Integer value) {
            addCriterion("updatehour <>", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourGreaterThan(Integer value) {
            addCriterion("updatehour >", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourGreaterThanOrEqualTo(Integer value) {
            addCriterion("updatehour >=", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourLessThan(Integer value) {
            addCriterion("updatehour <", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourLessThanOrEqualTo(Integer value) {
            addCriterion("updatehour <=", value, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourIn(List<Integer> values) {
            addCriterion("updatehour in", values, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourNotIn(List<Integer> values) {
            addCriterion("updatehour not in", values, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourBetween(Integer value1, Integer value2) {
            addCriterion("updatehour between", value1, value2, "updatehour");
            return (Criteria) this;
        }

        public Criteria andUpdatehourNotBetween(Integer value1, Integer value2) {
            addCriterion("updatehour not between", value1, value2, "updatehour");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNull() {
            addCriterion("agentId is null");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNotNull() {
            addCriterion("agentId is not null");
            return (Criteria) this;
        }

        public Criteria andAgentidEqualTo(Integer value) {
            addCriterion("agentId =", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotEqualTo(Integer value) {
            addCriterion("agentId <>", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThan(Integer value) {
            addCriterion("agentId >", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("agentId >=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThan(Integer value) {
            addCriterion("agentId <", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThanOrEqualTo(Integer value) {
            addCriterion("agentId <=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidIn(List<Integer> values) {
            addCriterion("agentId in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotIn(List<Integer> values) {
            addCriterion("agentId not in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidBetween(Integer value1, Integer value2) {
            addCriterion("agentId between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotBetween(Integer value1, Integer value2) {
            addCriterion("agentId not between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNull() {
            addCriterion("agentName is null");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNotNull() {
            addCriterion("agentName is not null");
            return (Criteria) this;
        }

        public Criteria andAgentnameEqualTo(String value) {
            addCriterion("agentName =", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotEqualTo(String value) {
            addCriterion("agentName <>", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThan(String value) {
            addCriterion("agentName >", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThanOrEqualTo(String value) {
            addCriterion("agentName >=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThan(String value) {
            addCriterion("agentName <", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThanOrEqualTo(String value) {
            addCriterion("agentName <=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLike(String value) {
            addCriterion("agentName like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotLike(String value) {
            addCriterion("agentName not like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameIn(List<String> values) {
            addCriterion("agentName in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotIn(List<String> values) {
            addCriterion("agentName not in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameBetween(String value1, String value2) {
            addCriterion("agentName between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotBetween(String value1, String value2) {
            addCriterion("agentName not between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andSpeedIsNull() {
            addCriterion("speed is null");
            return (Criteria) this;
        }

        public Criteria andSpeedIsNotNull() {
            addCriterion("speed is not null");
            return (Criteria) this;
        }

        public Criteria andSpeedEqualTo(Double value) {
            addCriterion("speed =", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotEqualTo(Double value) {
            addCriterion("speed <>", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedGreaterThan(Double value) {
            addCriterion("speed >", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedGreaterThanOrEqualTo(Double value) {
            addCriterion("speed >=", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedLessThan(Double value) {
            addCriterion("speed <", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedLessThanOrEqualTo(Double value) {
            addCriterion("speed <=", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedIn(List<Double> values) {
            addCriterion("speed in", values, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotIn(List<Double> values) {
            addCriterion("speed not in", values, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedBetween(Double value1, Double value2) {
            addCriterion("speed between", value1, value2, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotBetween(Double value1, Double value2) {
            addCriterion("speed not between", value1, value2, "speed");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}